package com.atguigu.juc.study.chapter12.syncup;

import org.openjdk.jol.info.ClassLayout;

/**
 * @author : leimingchao
 * @date Date : 2022年06月20日 20:40
 */
public class SynchronizedUpDemo {

    public static void main(String[] args) {

        Object object = new Object();

        System.out.println("十进制：" + object.hashCode());
        System.out.println("十六进制：" + Integer.toHexString(object.hashCode()));
        System.out.println("二进制：" + Integer.toBinaryString(object.hashCode()));

        System.out.println(ClassLayout.parseInstance(object).toPrintable());
    }
}
